package org.fuys.etp.core.model.event;

import org.fuys.etp.core.model.res.TpStatusResult;
import org.springframework.context.ApplicationEvent;

/**
 * @projectName: fuys-etp
 * @package: org.fuys.etp.core.model.event
 * @className: EtpReportEvent
 * @author: WangJing
 * @description: 动态线程池报告事件
 * @date: 2025/2/4 23:33
 * @version: 1.0
 */
public class EtpReportEvent extends ApplicationEvent {
    private TpStatusResult result;
    public EtpReportEvent(Object source, TpStatusResult result) {
        super(source);
        this.result = result;
    }

    public TpStatusResult getReport(){
        return this.result;
    }
}
